<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<a href="javascript:alert('你好呀,嘿嘿!')">链接</a>
		<br />
		<button onclick="alert('我在学习js')">按钮1</button>
	</body>
</html>
